package com.ruoyi.blog.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 博客正文对象 t_blog_content
 *
 * @author yang
 * @date 2021-11-21
 */
public class TBlogContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long contentId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String content;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String contentWrite;

    public void setContentId(Long contentId)
    {
        this.contentId = contentId;
    }

    public Long getContentId()
    {
        return contentId;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setContentWrite(String contentWrite)
    {
        this.contentWrite = contentWrite;
    }

    public String getContentWrite()
    {
        return contentWrite;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("contentId", getContentId())
                .append("content", getContent())
                .append("contentWrite", getContentWrite())
                .toString();
    }
}
